package com.zh.web.base;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.zh.web.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("基础dto模型")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BaseDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "创建人", hidden = true)
    private Long createOperator;
    @ApiModelProperty(value = "修改人", hidden = true)
    private Long updateOperator;
    @ApiModelProperty(value = "扩展内容 备用字段，可用于备注等", hidden = true)
    private String extendContent;
    @ApiModelProperty("状态 查询/修改时传入")
    private Status status;
}
